package cn.ainit.sys.ds.cloumns;
// default package



/**
 * sysCloumnsId entity. @author MyEclipse Persistence Tools
 */

public class sysCloumnsId  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 471406306411644701L;
	private String dsId;
     private String ename;


    // Constructors

    /** default constructor */
    public sysCloumnsId() {
    }

    
    /** full constructor */
    public sysCloumnsId(String dsId, String ename) {
        this.dsId = dsId;
        this.ename = ename;
    }

   
    // Property accessors

    public String getDsId() {
        return this.dsId;
    }
    
    public void setDsId(String dsId) {
        this.dsId = dsId;
    }

    public String getEname() {
        return this.ename;
    }
    
    public void setEname(String ename) {
        this.ename = ename;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof sysCloumnsId) ) return false;
		 sysCloumnsId castOther = ( sysCloumnsId ) other; 
         
		 return ( (this.getDsId()==castOther.getDsId()) || ( this.getDsId()!=null && castOther.getDsId()!=null && this.getDsId().equals(castOther.getDsId()) ) )
 && ( (this.getEname()==castOther.getEname()) || ( this.getEname()!=null && castOther.getEname()!=null && this.getEname().equals(castOther.getEname()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getDsId() == null ? 0 : this.getDsId().hashCode() );
         result = 37 * result + ( getEname() == null ? 0 : this.getEname().hashCode() );
         return result;
   }   





}